package cn.iocoder.yudao.module.call.controller.admin.channel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "呼叫中心 - 外呼渠道新增/修改 Request VO")
@Data
public class ChannelSaveReqVO {

    @Schema(description = "外呼渠道编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5761")
    private Long id;

    @Schema(description = "渠道名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "渠道名称不能为空")
    private String name;

    @Schema(description = "appId", example = "16953")
    private String appId;

    @Schema(description = "appKey")
    private String appKey;

    @Schema(description = "appSecret")
    private String appSecret;


    @Schema(description = "话单推送地址")
    private String notifyUrl;

    private String code;

    private String phoneMode;


}